<?php
// module/Backoffice/view/backoffice/utilisateur/delete.phtml:

$title = 'Delete utilisateur';
$this->headTitle($title);
if (!is_null($this->error)) {
    echo '<div class="alert alert-danger">'.$this->error.'</div>';
} else {
    ?>
    <h1><?php echo $this->escapeHtml($title); ?></h1>

    <p>Are you sure that you want to delete
        '<?php echo $this->escapeHtml($utilisateur->getNom()).' '.$this->escapeHtml($utilisateur->getPrenom()); ?>' ?
    </p>
    <?php
    $url = $this->url('utilisateur', array(
        'action' => 'delete',
        'id'     => $this->id,
    ));
    ?>
    <form action="<?php echo $url; ?>" method="post">
    <div>
        <input type="hidden" name="id" value="<?php echo $utilisateur->getId(); ?>" />
        <input type="submit" class="btn btn-default" name="del" value="Yes" />
        <input type="submit" class="btn btn-default" name="del" value="No" />
    </div>
    </form>
<?php }